extends ItemComp

@onready var button = $optionbutton

func _get_data():
	return button.button_pressed
	
func _set_data(data):
	button.button_pressed = data

func _on_optionbutton_toggled(_toggled_on):
	data_changed.emit()
